package team.seekers.catering.entity.temp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import team.seekers.catering.entity.vo.list.NutrimentListVO;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 食材表
 * </p>
 *
 * @author hbc
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class NutrimentListDTO implements Serializable {

    @ApiModelProperty(value = "营养素id")
    private Integer nutrimentId;

    @ApiModelProperty(value = "含量")
    private Double amount;

    @ApiModelProperty(value = "营养素参考值")
    private String nutrimentContent;

    public NutrimentListDTO(Integer nutrimentId, Double amount, String nutrimentContent) {
        this.nutrimentId = nutrimentId;
        this.amount = amount;
        this.nutrimentContent = nutrimentContent;
    }
}
